package top.zlcode.friend.service.question;

import top.zlcode.api.judeg.domain.vo.UserQuestionResultVO;
import top.zlcode.common.core.domain.R;
import top.zlcode.friend.domain.user.dto.UserSubmitDTO;

public interface IUserQuestionService {

    /**
     * 用户提交代码
     */
    R<UserQuestionResultVO> submit(UserSubmitDTO userSubmitDTO);

    /**
     * 用户提交代码
     */
    boolean rabbitSubmit(UserSubmitDTO userSubmitDTO);

    UserQuestionResultVO exeResult(Long examId, Long questionId, String uuid);
}
